package com.gy.sb.sbslavedatasource.dao;

import org.apache.ibatis.annotations.Select;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.gy.sb.sbslavedatasource.entity.Slave1;

public interface Slave1Mapper {
    
    @Select("SELECT * FROM slave1 where id = #{id}")
    @DS("slave_one")
    public Slave1 getById(Integer id);
    
}
